package com.cn.ycy;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.ServletContainerInitializer;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import java.util.Set;

public class MyServletContainerInitializer implements ServletContainerInitializer {

  Logger LOGGER = LoggerFactory.getLogger(this.getClass());

  @Override
  public void onStartup(Set<Class<?>> c, ServletContext ctx) throws ServletException {
    LOGGER.warn("Servlet中的 MyServletContainerInitializer 启动了 。。。");
  }

}
